\hypertarget{db_install_8php}{
\section{\-C\-:/\-Users/\-Jon/\-Downloads/\-O\-O\-P/db-\/control/db\-Install.php \-File \-Reference}
\label{db_install_8php}\index{\-C\-:/\-Users/\-Jon/\-Downloads/\-O\-O\-P/db-\/control/db\-Install.\-php@{\-C\-:/\-Users/\-Jon/\-Downloads/\-O\-O\-P/db-\/control/db\-Install.\-php}}
}
\subsection*{\-Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{db_install_8php_a0a71190f67ae9de9e6f5ababdad0e938}{\$db\-\_\-server} = mysql\-\_\-connect(\$host, \$username, \$password)
\item 
\hyperlink{db_install_8php_a76fb93cce64a9b34c9fd360ec121c15d}{\$db\-\_\-selected} = mysql\-\_\-select\-\_\-db(\$database, \$db\-\_\-server)
\item 
\hyperlink{db_install_8php_ad7e172c4e8458f5ac8d3753fbd8eedf8}{if} (!\$db\-\_\-selected)
\item 
\hyperlink{db_install_8php_a112ef069ddc0454086e3d1e6d8d55d07}{\$result} = db\-Organization\-::create\-Table()
\end{DoxyCompactItemize}


\subsection{\-Variable \-Documentation}
\hypertarget{db_install_8php_a76fb93cce64a9b34c9fd360ec121c15d}{
\index{db\-Install.\-php@{db\-Install.\-php}!\$db\-\_\-selected@{\$db\-\_\-selected}}
\index{\$db\-\_\-selected@{\$db\-\_\-selected}!dbInstall.php@{db\-Install.\-php}}
\subsubsection[{\$db\-\_\-selected}]{\setlength{\rightskip}{0pt plus 5cm}\$db\-\_\-selected = mysql\-\_\-select\-\_\-db(\$database, \$db\-\_\-server)}}
\label{db_install_8php_a76fb93cce64a9b34c9fd360ec121c15d}


\-Definition at line 46 of file db\-Install.\-php.

\hypertarget{db_install_8php_a0a71190f67ae9de9e6f5ababdad0e938}{
\index{db\-Install.\-php@{db\-Install.\-php}!\$db\-\_\-server@{\$db\-\_\-server}}
\index{\$db\-\_\-server@{\$db\-\_\-server}!dbInstall.php@{db\-Install.\-php}}
\subsubsection[{\$db\-\_\-server}]{\setlength{\rightskip}{0pt plus 5cm}\$db\-\_\-server = mysql\-\_\-connect(\$host, \$username, \$password)}}
\label{db_install_8php_a0a71190f67ae9de9e6f5ababdad0e938}
\-Initializes the database by creating the tables\-: \hyperlink{classdb_category}{db\-Category}, \hyperlink{classdb_contact}{db\-Contact}, \hyperlink{classdb_internship}{db\-Internship}, \hyperlink{classdb_major}{db\-Major}, \hyperlink{classdb_opportunity}{db\-Opportunity}, \hyperlink{classdb_organization}{db\-Organization}, \hyperlink{classdb_student}{db\-Student}, and \hyperlink{classdb_user}{db\-User} \begin{DoxyVersion}{\-Version}
\-March 4, 2011 
\end{DoxyVersion}
\begin{DoxyAuthor}{\-Author}
\-Aaron \-Jarzombek, \-Brice \-Rader and \-Daniel \-Pepin 
\end{DoxyAuthor}


\-Definition at line 37 of file db\-Install.\-php.

\hypertarget{db_install_8php_a112ef069ddc0454086e3d1e6d8d55d07}{
\index{db\-Install.\-php@{db\-Install.\-php}!\$result@{\$result}}
\index{\$result@{\$result}!dbInstall.php@{db\-Install.\-php}}
\subsubsection[{\$result}]{\setlength{\rightskip}{0pt plus 5cm}\$result = db\-Organization\-::create\-Table()}}
\label{db_install_8php_a112ef069ddc0454086e3d1e6d8d55d07}


\-Definition at line 66 of file db\-Install.\-php.

\hypertarget{db_install_8php_ad7e172c4e8458f5ac8d3753fbd8eedf8}{
\index{db\-Install.\-php@{db\-Install.\-php}!if@{if}}
\index{if@{if}!dbInstall.php@{db\-Install.\-php}}
\subsubsection[{if}]{\setlength{\rightskip}{0pt plus 5cm}{\bf if}(!\$db\-\_\-selected)}}
\label{db_install_8php_ad7e172c4e8458f5ac8d3753fbd8eedf8}


\-Definition at line 47 of file db\-Install.\-php.

